/**   
 * @Title: Config.java 
 * @Package com.esun.cheetah.config
 * @Description: 可配置信息
 * @author 程相亭    <br/>
 * @date 2012-03-13 下午05:07:33  
 * Copyright (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.cheetah.config;

/**
 * com.esun.cheetah.Splash
 * 
 * @Description:可配置信息类
 * @author 程相亭 <br/>
 * @date 2012-3-13 下午05:51:35
 */
public class Config {

	// =====================================URL===============================================

//	/** 线上服务器地址 */
//	public static final String POST_ADDRESS = "http://ws.500wan.com/pages/interface/client/soapserver.php";
	
	/** 线上测试地址 */
	public static final String POST_ADDRESS = "http://ws.500wan.com/pages/interface/client/soapinterface.php";
	

	// /** soap 服务器命名空间 */
	// public static final String NAME_SPACE = "http://ws.500wan.com/";

	/** soap 服务器命名空间 */
	public static final String NAME_SPACE = "abcd";

	/** 球队logo地址 */
	public static final String LOGO_ADDRESS = "http://ws.500wan.com/pages/images/TeamPic/";

	/** 实况地址 */
	public static final String ALIVE_ADDRESS = "http://ws.500wan.com/pages/interface/client/webview/match/matchLive.php?id=";

	/** 统计地址 */
	public static final String STATISTICS_ADDRESS = "http://ws.500wan.com/pages/interface/client/webview/match/matchStatistics.php?id=";

	/** 分析地址 */
	public static final String ANALYSIS_ADDRESS = "http://ws.500wan.com/pages/interface/client/webview/match/matchInfo.php?id=";

	/** 实况地址 */
	public static final String ODDS_ADDRESS = "http://ws.500wan.com/pages/interface/client/webview/match/matchOdds.php?id=";

	/** 实况地址 */
	public static final String BETTING_ADDRESS = "http://ws.500wan.com/pages/interface/client/webview/match/lotStatistics.php?id=";
	/** 新闻内容地址 */
	public static final String NEWS_CONTENT = "http://ws.500wan.com/pages/interface/client/webview/news/newsDetail.php?id=";
	
	/** 新闻内容地址 */
	public static final String URL_UNLOCK = "http://ws.500wan.com/pages/interface/client/webview/user/userLogin.php?" ;
	// =====================================URL===============================================

	/** soap 调用函数名 */
	public static final String METHOD_NAME = "getInfo";

	/** 默认超时时间, 10秒 */
	public static final int TIME_OUT_DEFAULT = 10000;

	/** 链接超时时间, 10秒 */
	public static final int TIME_OUT_CONN = 8000;

	/** 读取超时时间, 10秒 */
	public static final int TIME_OUT_READ = 12000;

	/** 服务器返回信息正确 10000 */
	public static final int COMMUNICATER_SUCCESS = 10000;

	/** 服务器返回信息错误 10001 */
	public static final int COMMUNICATER_FAIL = 10001;

	/** 通讯发生异常 10002 */
	public static final int COMMUNICATER_EXCEPTION = 10002;

	/** 常用通知信息20001 */
	public static final int COMMON_INFO_MSG_20001 = 20001;

	/** 常用通知信息20002 */
	public static final int COMMON_INFO_MSG_20002 = 20002;

	/** 常用通知信息20003 */
	public static final int COMMON_INFO_MSG_20003 = 20003;

	/** 刷新间隔 */
	public static final int REFRESH_TERM = 3*60*1000;

	/** 结束时间 */
	public static final String END_TIME = "endTime";
	/** 选择了提醒时间*/
	public static final String IS_CHOOSE_TIME = "isChooseTime";
	/** 开始时间 */
	public static final String BEGIN_TIME = "beginTime";
	/** webview基准地址 */
	public static final String WEB_VIEW_BASE = "http://ws.500wan.com/pages/interface/client/webview";
	/** 帮助WebView地址 */
	public static final String HELP_WEB_URL = WEB_VIEW_BASE + "/help.php";

	// =====================================push通知用到的常量===============================================
	public static final String SHARED_PREFERENCE_NAME = "client_preferences";
	public static final String CALLBACK_ACTIVITY_PACKAGE_NAME = "CALLBACK_ACTIVITY_PACKAGE_NAME";
	public static final String CALLBACK_ACTIVITY_CLASS_NAME = "CALLBACK_ACTIVITY_CLASS_NAME";
	public static final String DEVICE_ID = "DEVICE_ID";
	public static final String IMEI = "IMEI";
	public static final String EMULATOR_DEVICE_ID = "EMULATOR_DEVICE_ID";
	public static final String SETTINGS_NOTIFICATION_ENABLED = "SETTINGS_NOTIFICATION_ENABLED";
	public static final String SETTINGS_SOUND_ENABLED = "SETTINGS_SOUND_ENABLED";
	public static final String SETTINGS_VIBRATE_ENABLED = "SETTINGS_VIBRATE_ENABLED";
	public static final String SETTINGS_TOAST_ENABLED = "SETTINGS_TOAST_ENABLED";
	/** push条数 的preference 名字 */
	public static final String PUSH_NUMBER = "PUSH_NUMBER";
	/** push条数 的 条数 */
	public static final String PUSH_ACCOUNT = "PUSH_ACCOUNT";
	// intent Action
	public static final String ACTION_SHOW_NOTIFICATION = "org.androidpn.client.SHOW_NOTIFICATION";
	public static final String ACTION_NOTIFICATION_CLICKED = "org.androidpn.client.NOTIFICATION_CLICKED";
	public static final String ACTION_NOTIFICATION_CLEARED = "org.androidpn.client.NOTIFICATION_CLEARED";

	// NOTIFICATION FIELDS
	public static final String NOTIFICATION_ID = "NOTIFICATION_ID";
	public static final String NOTIFICATION_API_KEY = "NOTIFICATION_API_KEY";
	public static final String NOTIFICATION_TITLE = "NOTIFICATION_TITLE";
	public static final String NOTIFICATION_MESSAGE = "NOTIFICATION_MESSAGE";
	public static final String NOTIFICATION_URI = "NOTIFICATION_URI";
	/** 账户保护时间 字符串 */
	public static final String ACCOUNT_PROTECT_TIME = "ACCOUNT_PROTECT_TIME";
	/** 账户保护时间 戳 */
	public static final String ACCOUNT_PROTECT_TIME_STRING = "ACCOUNT_PROT_TIME";
	/** 是不是已经开启了账户保护*/
	public static final String ACCOUNT_ISON = "ACCOUNT_ISON";

	/** 配置文件 */
	public static final String NULLMARK = "";

	/** 竞彩足球图片下载地址 */
	public static final String SPORTTERYFOOTBALL_PIC_ADDRESS = "http://m.500wan.com/rabbit2/resource/identifier/";

	/** 常用字符串 " " */
	public static final String ONESPACE = " ";

	/** 常用字符串 "," */
	public static final String COMMA = ",";

	/** 常用字符串 "|" */
	public static final String VERTRAL_LINE = "|";

	/** 常用字符串"&" */
	public static final String AND = "&";

	/** 常用字符串 "[" */
	public static final String LEFT_BR = "[";

	/** 常用字符串 "]" */
	public static final String RIGHT_BR = "]";

	/** 常用字符串 "#" */
	public static final String JINGHAO = "#";

	/** 常用字符串 "*" */
	public static final String XINGHAO = "*";

	/** 常用字符串 "$" */
	public static final String DOLLAR = "/";

	/** 标识字符串 0 */
	public static final String NUM0 = "0";

	/** 标识字符串 1 */
	public static final String NUM1 = "1";

	/** 提交刷新 */
	public static final int DO_REFRESH = 100005;

	/** 竞彩足球开奖信息查询开始日期 */
	public static final String FOOTBALL_LOTTERYINFO_STARTINGDATE = "2010-03-23";

	/** 通信失败.. */
	public static final int CONNECTION_FAIL = 100004;

	/** 常用字符串 "-" */
	public static final String HORIZONTAL_LINE = "-";

	// ------------------比赛列表通信Handler消息
	public static final int GET_LIST_SUCCESS = 10001;
	public static final int GET_LIST_FAILED = 10002;
	/** 判断是不是用户信息设置Activity */
	public static final String IS_SETDETAILS = "IS_SETDETAILS";
	// push 通知 preference Key
	public static final String API_KEY = "API_KEY";
	public static final String VERSION = "VERSION";
	public static final String XMPP_HOST = "XMPP_HOST";
	public static final String XMPP_PORT = "XMPP_PORT";
	public static final String XMPP_USERNAME = "XMPP_USERNAME";
	public static final String XMPP_PASSWORD = "XMPP_PASSWORD";

	public static final String PCF = "PARENT_CHECKBOX_PREFERENCE";
	public static final String BAS_HALF_PREF = "BAS_HALF_PREF";
	public static final String BEGIN_PRE_THRIT = "BEGIN_PRE_THRITY";
	public static final String RED_CARD_PREF = "RED_CARD_PREF";
	public static final String FOOT_GOAL_PREF = "FOOT_GOAL_PREF";
	public static final String FOOT_BEG_END_PREF = "FOOT_BEG_END_PREF";
	public static final String VIBRATOR_PREFERENCE = "VIBRATOR_PREFERENCE";
	public static final String RING_PREFERENCE = "RING_PREFERENCE";
	/**
	 * lotid彩种编号
	 * */

	/** 彩种编号 足球胜负 */
	public static final String SHENGFUCAI = "1";

	/** 彩种编号 双色球 */
	public static final String SHUANGSEQIU = "3";

	/** 彩种编号 七星彩 */
	public static final String QIXINGCAI = "4";

	/** 彩种编号 排列三 */
	public static final String PAILIESAN = "5";

	/** 彩种编号 福彩3D */
	public static final String FUCAI3D = "7";

	/** 彩种编号 22选5 */
	public static final String ERSHIERXUANWU = "8";

	/** 彩种编号, 北京足球单场 */
	public static final String BEIJINGZUQIUDANCHANG = "9";

	/** 彩种编号 七乐彩 */
	public static final String QILECAI = "11";

	/** 彩种编号 六场半全 */
	public static final String LIUCHANGBANQUAN = "15";

	/** 彩种编号 四场进球 */
	public static final String SICHANGJINQIU = "17";

	/** 彩种编号 大乐透 */
	public static final String DALETOU = "28";

	/** 彩种编号 时时彩 */
	public static final String SHISHICAI = "29";

	/** 彩种编号 11选5 */
	public static final String SHIYIXUANWU = "45";

	/** 彩种编号竞彩足球 */
	public static final String JINGCAIZUQIU = "46";

	/** 彩种编号 竞彩蓝球 */
	public static final String JINGCAILANQIU = "47";

	/** 彩种编号 天津快乐10分 */
	public static final String KUAILESHIFEN = "50";

	/** 彩种编号 任选九 */
	public static final String RENXUANJIU = "10000";

	/** 彩种编号 排列五 */
	public static final String PAILIEWU = "10001";

	/** 添加球队成功 */
	public static final int SEARCH_TEAM_SUCESSFUL = 100;
	/** 没有相关球队 */
	public static final int NO_RELATE_TEAM = 110;
	/** 添加球队成功 */
	public static final int HOT_TEAM_SUCESSFUL = 101;

	public static final String APP_PACKAGE_INFO = "com.esun.cheetah";

	public static final String SAVED_VERSION = "SAVED_VERSION";
	/** 投注列表专用 */
	/** 通信失败.. */
	public static final int CONNECTION_ZJ_FAIL = 100500;
	/** 通信成功.. */
	public static final int CONNECTION_ZJ_SUCCESS = 100600;
	/** 通信异常.. */
	public static final int CONNECTION_ZJ_EXCEPTION = 100700;

	/** 添加成功的返回值 */
	public static final String SHARED_ADD_TEAM_NAME = "add_team_sucessful";
	/** 从搜索界面跳到详情时球队名字 */
	public static String TEAM_NAME = "team_name";
	/** 从搜索界面跳到详情时球队Id */
	public static String TEAM_ID = "team_id";
	/** 从搜索界面跳到详情时球联盟 */
	public static String TEAM_LEAGUE = "team_league";
	/** 近期战绩解析完成 */
	public static final int RECENT_RECORD_SUCESSFUL = 100;

	// 获取正在进行的关注比赛列表
	public static final int GET_ATTENTION_MATCH_RIGHT_NOW_LIST_SUCCESS = 1001;
	public static final int GET_ATTENTION_MATCH_RIGHT_NOW_LIST_FAIL = 1002;
	public static final int GET_ATTENTION_MATCH_RIGHT_NOW_LIST_EXCEPTION = 1003;

	// 获取未开赛的关注比赛列表
	public static final int GET_ATTENTION_MATCH_FUTURE_LIST_SUCCESS = 2001;
	public static final int GET_ATTENTION_MATCH_FUTURE_LIST_FAIL = 2002;
	public static final int GET_ATTENTION_MATCH_FUTURE_LIST_EXCEPTION = 2003;

	// 获取已完成的关注比赛列表
	public static final int GET_ATTENTION_MATCH_DONE_LIST_SUCCESS = 3001;
	public static final int GET_ATTENTION_MATCH_DONE_LIST_FAIL = 3002;
	public static final int GET_ATTENTION_MATCH_DONE_LIST_EXCEPTION = 3003;

	// 获取正在进行的已投注比赛列表
	public static final int GET_TOUZHU_MATCH_RIGHT_NOW_LIST_SUCCESS = 4001;
	public static final int GET_TOUZHU_MATCH_RIGHT_NOW_LIST_FAIL = 4002;
	public static final int GET_TOUZHU_MATCH_RIGHT_NOW_LIST_EXCEPTION = 4003;

	// 获取未开赛的已投注比赛列表
	public static final int GET_TOUZHU_MATCH_FUTURE_LIST_SUCCESS = 5001;
	public static final int GET_TOUZHU_MATCH_FUTURE_LIST_FAIL = 5002;
	public static final int GET_TOUZHU_MATCH_FUTURE_LIST_EXCEPTION = 5003;

	// 获取已完成的已投注比赛列表
	public static final int GET_TOUZHU_MATCH_DONE_LIST_SUCCESS = 6001;
	public static final int GET_TOUZHU_MATCH_DONE_LIST_FAIL = 6002;
	public static final int GET_TOUZHU_MATCH_DONE_LIST_EXCEPTION = 6003;

	/** 没有关注该球队 */
	public static final int NOT_ATTEN_TEAM = 101;
	/** 关注该球队 */
	public static final int ATTEN_TEAM = 102;
}
